Shape Analysis of Single-Parent Heaps

نویسندگان

  • Ittai Balaban
  • Amir Pnueli
  • Lenore D. Zuck
چکیده

Abstract. We define the class of single-parent heap systems, which rely on a singly-linked heap in order to model destructive updates on tree structures. This encoding has the advantage of relying on a relatively simple theory of linked lists in order to support abstraction computation. To facilitate the application of this encoding, we provide a program transformation that, given a program operating on a multi-linked heap without sharing, transforms it into one over a single-parent heap. It is then possible to apply shape analysis by predicate and ranking abstraction as in [2]. The technique has been successfully applied on examples with trees of fixed arity (balancing of and insertion into a binary sort tree).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Shape Analysis via Monotonic Abstraction

We propose a new formalism for reasoning about dynamic memory heaps, using monotonic abstraction and symbolic backward reachability analysis. We represent the heaps as graphs, and introduce an ordering on these graphs. This enables us to represent the violation of a given safety property as the reachability of a finitely representable set of bad graphs. We also describe how to symbolically comp...

متن کامل

Boolean Heaps

We show that the idea of predicates on heap objects can be cast in the framework of predicate abstraction. This leads to an alternative view on the underlying concepts of three-valued shape analysis by Sagiv, Reps and Wilhelm. Our construction of the abstract post operator is analogous to the corresponding construction for classical predicate abstraction, except that predicates over objects on ...

متن کامل

The Effectiveness of Emotional-Social Skills Training on Emotional / Social Competence and Psychological Well-Being of Single-Parent Girls

The aim of this study was to investigate the effectiveness of emotional-social skills training on emotional/social competence and psychological well-being in single-parent girls. The present study was a quasi-experimental study with a pretest-posttest design with a control group. The statistical population of the study was all single-parent female high school students in Sarab city in 2019, fro...

متن کامل

An E cient Algorithm for Concurrent Priority

We present a new algorithm for concurrent access to array-based priority queue heaps. Deletions proceed top-down as they do in a previous algorithm due to Rao and Kumar 6], but insertions proceed bottom-up, and consecutive insertions use a bit-reversal technique to scatter accesses across the fringe of the tree, to reduce contention. Because insertions do not have to traverse the entire height ...

متن کامل

Comparing parental monitoring, affiliation with delinquent peers, and high-risk behaviors in single-parent and two-parent male adolescents

Single-parent families maybe exposed of personal, interpersonal and family problems. Thus, the aim of the current research wasthe comparison of parental monitoring, affiliation with delinquent peers and high risk behaviors between single parent and two-parent adolescents. 100 single-parent adolescents and 100 two-parent adolescents in Eslamabad-e Gharb city of Kermanshah, Iran, were selected th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007